module.exports = [

    //文件上传
    ['/apiv1/upFile', '/apiv1/common/uploddFile', 'post'], // 上传图片
    ['/apiv1/richEditorUploadFile', '/apiv1/common/richEditorUploadFile', 'post'],     // 富文本上传

    //比赛
    ['/apiv1/competition', '/apiv1/competition', 'rest'],                   // 正常使用
    ['/apiv1/competition/:guid?', '/apiv1/competition', 'rest'],           // 可以使用的,正常的

    //添加比赛v2
    // ['/apiv1/guid', '/apiv1/competition/createCPGuid', 'get'],               // 获取创建比赛的guid
    ['/apiv1/createcp', '/apiv1/competition/createCompetition', 'post'],  // 创建比赛版本v2
    ['/apiv1/updatecp', '/apiv1/competition/updateCompetition', 'post'],  // 更新|修改比赛
    ['/apiv1/entercurrentst', '/apiv1/competition/entercurrentst', 'post'],  // 进入当前流程
    ['/apiv1/endcp/:guid?', '/apiv1/competition/endCurrentCP', 'get'],     // 结束比赛
    ['/apiv1/pausecp/:guid?', '/apiv1/competition/pauseCurrentCP', 'get'],     // 结束比赛


    //修改比赛

    //修改比赛基础信息
    ['/apiv1/updatecpbasic', '/apiv1/competition/updatecpbasic', 'post'],
    //修改比赛报名设置
    ['/apiv1/updatecpsetting', '/apiv1/competition/updatecpsetting', 'post'],
    //修改比赛流程设置
    ['/apiv1/updatecpsteps', '/apiv1/steps/updatecpsteps', 'post'],
    //根据流程guid获取流程的详细信息
    ['/apiv1/stdetail/:guid', '/apiv1/steps/stdetail', 'get'],
    // 删除流程
    ['/apiv1/delcpstep/:guid', '/apiv1/steps/delstep', 'delete'],


    ['/apiv1/cpworkscount/:guid?', '/apiv1/competition/competitionWorksCount', 'get'], // 可以使用的,正常的
    ['/apiv1/cpdesc/:guid?', '/apiv1/competition/competitionDesc', 'get'], //
    ['/apiv1/cpstep/:guid?', '/apiv1/competition/competitionStep', 'get'], //比赛的所有流程    比赛流程|比赛详细
    ['/apiv1/stepCount/:guid?', '/apiv1/competition/competitionStepsWorksCountAndAppCount', 'get'], //
    ['/apiv1/step/:guid?', '/apiv1/competition/getStepInfoByGuid', 'get'], //根据流程guid获取比赛流程
    ['/apiv1/cpdetailfromst/:guid', '/apiv1/steps/cpdetailfromst', 'get'], //比赛信息

    //作品相关
    ['/apiv1/userWorks/:guid?', '/apiv1/works/getUserWorksByUserGuid', 'get'], //  根据用户guid获取用户的作品(参赛者主页)

    // /apiv1/userCourrentCompetitionWorks/:cpguid/:usrguid 获取用户当前比赛的所有作品
    ['/apiv1/userCourrentCompetitionStepWorks/:stguid/:usrguid', '/apiv1/works/getUserCourrentCompetitionStepWorks', 'get'], //  根据用户guid获取用户的作品(参赛者主页)

    //用户当前比赛的作品
    ['/apiv1/userCurrentCompetitionWorks/:cpguid/:usrguid', '/apiv1/works/userCurrentCompetitionWorks', 'get'],


    ['/apiv1/uploadWork', '/apiv1/works/uploadWork', 'post'], //上传作品
    ['/apiv1/updateWork', '/apiv1/works/updateWork', 'post'], //修改作品
    ['/apiv1/works/:guid?', '/apiv1/works', 'rest'],
    ['/apiv1/stepworks/:guid?', '/apiv1/works/getWorksByStepGuid', 'get'], //根据比赛流程的guid获取该流程的作品




    // 裁判相关接口
    ['/apiv1/judger', '/apiv1/judger', 'rest'], // 可以使用的,正常的
    ['/apiv1/judger/:guid?', '/apiv1/judger', 'rest'], // 可以使用的,正常的
    ['/apiv1/judgerLogin', '/apiv1/judger/judgerLogin', 'post'], // 裁判登陆
    ['/apiv1/jrstep/:guid', '/apiv1/judger/jrstep', 'get'], // 裁判的能评分的流程

    //成绩
    ['/apiv1/stepgrade/:guid?', '/apiv1/stepgrade', 'rest'], // 可以使用的,正常的
    ['/apiv1/doGrade', '/apiv1/works/doGrade', 'post'], // 打分
    ['/apiv1/getGrade/:wkguid/:jrguid', '/apiv1/works/getGrade', 'get'], // 获取打分

    //报名
    ['/apiv1/application', '/apiv1/application', 'rest'], //  报名接口
    ['/apiv1/isapply', '/apiv1/application/isapply', 'post'],     // 是否已经报名


    //比赛流程
    ['/apiv1/stpause/:guid', '/apiv1/steps/stepPause', 'get'],     // 暂停流程
    ['/apiv1/stcontinue/:guid', '/apiv1/steps/stContinue', 'get'],     // 继续流程
    ['/apiv1/stend/:guid', '/apiv1/steps/stEnd', 'get'],     // 结束流程


    //流程的作品数和报名数
    ['/apiv1/stepWorksCountAndApplicationsCount/:guid', '/apiv1/steps/stepWorksCountAndApplicationsCount', 'get'],



    //开发测试接口
    ['/apiv1/j/:guid', '/apiv1/stepgrade/judger', 'get'],//根据作品guid查询裁判






    //错误的接口
    [/\/.*/, 'apiv1/error/notFind']

];
